package com.itheima.service;

import com.itheima.mapper.BrandMapper;
import com.itheima.pojo.Brand;
import com.itheima.pojo.pageBean;
import com.itheima.util.SqlSessionFactoryutils;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;

import java.util.List;
public interface BrandService {
   public List<Brand> findAll();
   public void add(Brand brand);
   public void delete(Integer id);
   public void update(Brand brand);
   public void deletebyids(int[] idss);
   public pageBean<Brand> findByPage(int start, int size);
   public pageBean<Brand> findByCondition(int c,int b,Brand brand);
}
